package com.py.warehouse.mapper;

import java.util.List;
import com.py.warehouse.domain.WhCheckDetails;
import org.apache.ibatis.annotations.Param;


public interface WhCheckDetailsMapper {
    /**
     * 查询ee
     *
     * @param detailsId ee主键
     * @return ee
     */
    public WhCheckDetails selectWhCheckDetailsByDetailsId(Long detailsId);

    /**
     * 查询ee列表
     *
     * @param whCheckDetails ee
     * @return ee集合
     */
    public List<WhCheckDetails> selectWhCheckDetailsList(WhCheckDetails whCheckDetails);

    /**
     * 新增ee
     *
     * @param whCheckDetails ee
     * @return 结果
     */
    public int insertWhCheckDetails(WhCheckDetails whCheckDetails);

    /**
     * 修改ee
     *
     * @param checkCode ee
     * @return 结果
     */
    public int updateWhCheckDetails(String checkCode);

    List<WhCheckDetails> selectDetailsByWarehouseCode(@Param("checkCode")String code);

    int updateAlready(Long id);

}
